﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoreGallery.Addins.Contracts;

namespace CoreGallery.Publishing
{
    /// <summary>
    /// Publishes photos to the supplied PicasaWeb account along with specified
    /// tags, album name, description, location, etc.
    /// </summary>
    [CoreAddin("PicasaWeb photo publisher", "{9ED4D50B-2E12-4e24-AFA9-74CD875B3629}",
        Description = "Allows photos to be published to PicasaWeb albums.")]
    public class PicasaWebPublisher : IPublishingAddinBase
    {
        #region IPublishingAddinBase Members

        public string Name
        {
            get { return "PicasaWeb photo publisher"; }
        }

        public string Creator
        {
            get { throw new NotImplementedException(); }
        }

        public Guid UniqueKey
        {
            get { return new Guid("{9ED4D50B-2E12-4e24-AFA9-74CD875B3629}"); }
        }

        public string Description
        {
            get { return "Allows photos to be published to PicasaWeb albums."; }
        }

        public string AboutText
        {
            get { return "Core addin for publishing to PicasaWeb"; }
        }

        public Version Version
        {
            get { return new Version(1, 0); }
        }

        public void OnInit() // TODO: CoreGallery.Core.GalleryExplorer explorer)
        {
        }

        public void OnLoad()
        {
        }

        public void OnUnload()
        {
        }

        public void Export(IList<BasePhoto> photos)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
